package priv.pront.code.lanqiao.competition.course.date0330;

import java.util.Arrays;
import java.util.Scanner;

public class 单词接龙 {
    static int n;
    static String[] arr;
    static int[] wordCount = new int[26];
    static String dragon;
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        n = scanner.nextInt();
        arr = new String[n];
        for (int i = 0; i < n; i++) {
            arr[i] = scanner.next();
        }
        dragon = scanner.next();
        Arrays.sort(arr);
        for (int i = 0; i < arr.length; i++) {
            wordCount[arr[i].charAt(0) - 'a']++;
        }


    }
}
